package org.dxy.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Order {

    //订单 ID
    private Long id;

    //用户 ID
    private Long user_id;

    //车次 ID
    private Long trip_id;

    //座位类型
    private String seatType;

    //座位号
    private String seatNumber;

    //下单时间
    private LocalDateTime orderTime;

    //订单总价
    private BigDecimal totalPrice;

    //订单状态（未支付、已支付、已取消等）
    private String status;
}
